Building an Applet
This page contains pointers to all the applets discussed in the last
chapter in the book "Building an Applet". You can go through the
examples to figure out how applet programming works. If you want to do
different things than are in the examples, you can use the api docs as a reference.
Graphics Applet 1
- Drawing a line.
Graphics Applet 2
- Drawing a rectangle.
Graphics Applet 3
- Drawing a centered string.
Graphics Applet 4
- Drawing an image.
Graphics Applet 5
- Combining the four applets into a configurable applet.
UIApplet 1
- An applet that uses the gui toolkit to put up a textfield and a button.
UIApplet 2
- An applet that uses the gui toolkit to put up some buttons.
UIApplet 3
- An applet that uses the gui toolkit to put up some buttons inside
some other buttons.
UIApplet 4
- An applet that uses the gui toolkit to put up a phone dialer.